package http.executor;

import http.mapping.HandlerMethod;

public class Task {
    private HandlerMethod handle;
    private String id;

    public HandlerMethod getHandle() {
        return handle;
    }

    public void setHandle(HandlerMethod handle) {
        this.handle = handle;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Task(HandlerMethod handle, String id) {
        this.handle = handle;
        this.id = id;
    }
}
